﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true"
    CodeBehind="InCheckHS.aspx.cs" Inherits="DomMgmtSystem.View.InCheckHS" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../Js/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="../Js/artDialog/plugins/iframeTools.source.js" type="text/javascript"></script>
    <link href="../Js/artDialog/skins/blue.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $("#Content_btnSave").click(function () {
//                if ($("#Content_txtSQDH").val() == "" || $("#Content_txtCSQMC").val() == "") {

//                    Alert("摄区编码、摄区名称不能为空，请输入");
//                    return false;
//                }
                if ($("#Content_txtSQDH").val().length != 8) {
                    Alert("摄区编码格式为年份+4位流水号");
                    return false;
                }
            });

            $("input:radio").change(function () {
                if ($(this).attr("id").startWith("Content_HSZLSSBG")) {
                    if ($(this).val().endWith("0"))
                        $("#trhszlssbg").hide()
                    else
                        $("#trhszlssbg").show();
                }

                if ($(this).attr("id").startWith("Content_HSYJLSJ_CLSJ")) {
                    if ($(this).val().endWith("0"))
                        $("#HSYJLSJ_CLSJ").hide()
                    else
                        $("#HSYJLSJ_CLSJ").show();
                }

                //设置最终检查结果是否通过
                if (!$(this).attr("id").startWith("Content_JCSFTG")) {
                    var id = $(this).attr("id");
                    if (!id.startWith("Content_FZSY_CLBG") && !id.startWith("Content_HSYJLSJ_CLSJ") && !id.startWith("Content_HSZLSSBG")) {
                        var val = $(this).val();
                        if ($(this).attr("id").endWith("0") && $(this).is(":checked")) {
                            $("#Content_JCSFTG0").attr("checked", true);
                            $("#Content_JCSFTG1").attr("checked", false);
                        }
                        else {
                            var result = true;
                            $("input:checked").each(function () {
                                var otherId = $(this).attr("id");
                                if (id == "Content_HSZLSSBG1" && $("#SSPS_XPS_YZ0").is(":checked"))
                                    result = false;
                                else if (!otherId.startWith("Content_FZSY_CLBG") && !otherId.startWith("Content_HSZLSSBG") && !otherId.startWith("Content_JCSFTG") && !otherId.startWith("Content_HSYJLSJ_CLSJ") && !otherId.startWith("Content_SSPS_XPS_YZ") && otherId.endWith("0") && $(this).is(":checked"))
                                    result = false;
                            });
                            if (result) {
                                $("#Content_JCSFTG1").attr("checked", true);
                                $("#Content_JCSFTG0").attr("checked", false);
                            }
                        }
                    }
                }
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <div id="InCheck">
        <table class="table table-bordered table-hover">
            <thead>
                <tr>
                    <td class="tableTitle" colspan="2">
                        <strong>&nbsp; 摄区基本信息</strong>
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td class="tableleft">
                        摄区编码：
                    </td>
                    <td id="tdProductID">
                        <asp:TextBox ID="txtSQDH" runat="server" isnull='False' fieldtype="int"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        摄区名称：
                    </td>
                    <td>
                        <asp:TextBox ID="txtCSQMC" runat="server" isnull='False'></asp:TextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-bordered table-hover">
            <thead>
                <tr>
                    <td class="tableTitle" colspan="2">
                        <strong>&nbsp; 硬盘</strong>
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td class="tableleft">
                        硬盘是否能打开:
                    </td>
                    <td>
                        <asp:RadioButton ID="YPSFKD0" runat="server" Text="" GroupName="YPSFKD" />否
                        <asp:RadioButton ID="YPSFKD1" runat="server" Text="" GroupName="YPSFKD" Checked="True" />是
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        套数符合合同要求
                    </td>
                    <td>
                        <asp:RadioButton ID="TSFHHTYQ0" runat="server" Text="" GroupName="TSFHHTYQ" />否
                        <asp:RadioButton ID="TSFHHTYQ1" runat="server" Text="" GroupName="TSFHHTYQ" Checked="True" />是
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        硬盘数量
                    </td>
                    <td>
                        <asp:TextBox ID="txtYPSL" runat="server" Width="200px" isnull='False' fieldtype='int'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        标签是否符合要求:
                    </td>
                    <td>
                        <asp:RadioButton ID="BQFHYQ0" runat="server" Text="" GroupName="BQFHYQ" />否
                        <asp:RadioButton ID="BQFHYQ1" runat="server" Text="" GroupName="BQFHYQ" Checked="True" />是
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        目录格式是否符合要求
                    </td>
                    <td>
                        <asp:RadioButton ID="MLGSFHYQ0" runat="server" Text="" GroupName="MLGSFHYQ" />否
                        <asp:RadioButton ID="MLGSFHYQ1" runat="server" Text="" GroupName="MLGSFHYQ" Checked="True" />是
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        数据种类是否符合要求
                    </td>
                    <td>
                        <asp:RadioButton ID="SJZLFHYQ0" runat="server" Text="" GroupName="SJZLFHYQ" />否
                        <asp:RadioButton ID="SJZLFHYQ1" runat="server" Text="" GroupName="SJZLFHYQ" Checked="True" />是
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-bordered table-hover">
            <thead>
                <tr>
                    <td class="tableTitle" colspan="2">
                        <strong>&nbsp; 电子文档</strong>
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td class="tableleft">
                        有无摄区范围完成情况图
                    </td>
                    <td>
                        <asp:RadioButton ID="SQFWWCQKT0" runat="server" Text="" GroupName="SQFWWCQKT" />无
                        <asp:RadioButton ID="SQFWWCQKT1" runat="server" Text="" GroupName="SQFWWCQKT" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        航摄航线、相片结合图：
                    </td>
                    <td>
                        <asp:RadioButton ID="HXXPJHT0" runat="server" Text="" GroupName="HXXPJHT" />无
                        <asp:RadioButton ID="HXXPJHT1" runat="server" Text="" GroupName="HXXPJHT" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        相片中心点结合图
                    </td>
                    <td>
                        <asp:RadioButton ID="XPZXDJHT0" runat="server" Text="" GroupName="XPZXDJHT" />无
                        <asp:RadioButton ID="XPZXDJHT1" runat="server" Text="" GroupName="XPZXDJHT" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        相片中心点坐标数据
                    </td>
                    <td>
                        <asp:RadioButton ID="XPZXDZB0" runat="server" Text="" GroupName="XPZXDZB" />无
                        <asp:RadioButton ID="XPZXDZB1" runat="server" Text="" GroupName="XPZXDZB" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        航空摄影资料移交书
                    </td>
                    <td>
                        <asp:RadioButton ID="ZLYJS0" runat="server" Text="" GroupName="ZLYJS" />无
                        <asp:RadioButton ID="ZLYJS1" runat="server" Text="" GroupName="ZLYJS" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        数字航摄仪技术参数
                    </td>
                    <td>
                        <asp:RadioButton ID="HSYJSCS0" runat="server" Text="" GroupName="HSYJSCS" />无
                        <asp:RadioButton ID="HSYJSCS1" runat="server" Text="" GroupName="HSYJSCS" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        航摄鉴定表
                    </td>
                    <td>
                        <asp:RadioButton ID="JDB0" runat="server" Text="" GroupName="JDB" />无
                        <asp:RadioButton ID="JDB1" runat="server" Text="" GroupName="JDB" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        航空摄影技术设计书
                    </td>
                    <td>
                        <asp:RadioButton ID="HSJSSJS0" runat="server" Text="" GroupName="HSJSSJS" />无
                        <asp:RadioButton ID="HSJSSJS1" runat="server" Text="" GroupName="HSJSSJS" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        航空摄影飞行记录
                    </td>
                    <td>
                        <asp:RadioButton ID="HSFXJL0" runat="server" Text="" GroupName="HSFXJL" />无
                        <asp:RadioButton ID="HSFXJL1" runat="server" Text="" GroupName="HSFXJL" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        航摄军区批文
                    </td>
                    <td>
                        <asp:RadioButton ID="HSJQPW0" runat="server" Text="" GroupName="HSJQPW" />无
                        <asp:RadioButton ID="HSJQPW1" runat="server" Text="" GroupName="HSJQPW" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        航摄资料送审报告
                    </td>
                    <td>
                        <asp:RadioButton ID="HSZLSSBG0" runat="server" Text="" GroupName="HSZLSSBG" />无
                        <asp:RadioButton ID="HSZLSSBG1" runat="server" Text="" GroupName="HSZLSSBG" Checked="True" />有
                    </td>
                </tr>
                <tr id="trhszlssbg">
                    <td class="tableleft">
                        送审片数与摄区相片数量是否一致
                    </td>
                    <td>
                        <asp:RadioButton ID="SSPS_XPS_YZ0" runat="server" Text="" GroupName="SSPS_XPS_YZ" />否
                        <asp:RadioButton ID="SSPS_XPS_YZ1" runat="server" Text="" GroupName="SSPS_XPS_YZ"
                            Checked="True" />是
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        航摄仪记录数据及其处理结果
                    </td>
                    <td>
                        <asp:RadioButton ID="HSYJLSJ_CLSJ0" runat="server" Text="" GroupName="HSYJLSJ_CLSJ" />无
                        <asp:RadioButton ID="HSYJLSJ_CLSJ1" runat="server" Text="" GroupName="HSYJLSJ_CLSJ"
                            Checked="True" />有
                    </td>
                </tr>
                <tr id="HSYJLSJ_CLSJ">
                    <td class="tableleft">
                        IMU/DGPS辅助摄影数据处理报告
                    </td>
                    <td>
                        <asp:RadioButton ID="FZSY_CLBG0" runat="server" Text="" GroupName="FZSY_CLBG" />无
                        <asp:RadioButton ID="FZSY_CLBG1" runat="server" Text="" GroupName="FZSY_CLBG" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        航空摄影产品自检报告
                    </td>
                    <td>
                        <asp:RadioButton ID="CPZJBG0" runat="server" Text="" GroupName="CPZJBG" />无
                        <asp:RadioButton ID="CPZJBG1" runat="server" Text="" GroupName="CPZJBG" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        资料移交书是否一致
                    </td>
                    <td>
                        <asp:RadioButton ID="ZLYJS_YZ0" runat="server" Text="" GroupName="ZLYJS_YZ" />否
                        <asp:RadioButton ID="ZLYJS_YZ1" runat="server" Text="" GroupName="ZLYJS_YZ" Checked="True" />是
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-bordered table-hover">
            <thead>
                <tr>
                    <td class="tableTitle" colspan="2">
                        <strong>&nbsp; 纸质文档</strong>
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td class="tableleft">
                        资料移交书份数
                    </td>
                    <td>
                        <asp:TextBox ID="txtZLYJS_FS" runat="server" Width="200px" isnull='False' fieldtype='int'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        有无纸质资料移交书
                    </td>
                    <td>
                        <asp:RadioButton ID="ZZZLYJS_YW0" runat="server" Text="" GroupName="ZZZLYJS_YW" />无
                        <asp:RadioButton ID="ZZZLYJS_YW1" runat="server" Text="" GroupName="ZZZLYJS_YW" Checked="True" />有
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        纸质资料移交书份数
                    </td>
                    <td>
                        <asp:TextBox ID="txtZZZLYJS_FS" runat="server" Width="200px" isnull='False' fieldtype='int'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        检查日期:
                    </td>
                    <td>
                        <asp:Label ID="lblJCDate" runat="server" Visible="false"></asp:Label>
                        <div id="DivJCDate" name="datetimepicker" class="input-append date" runat="server">
                            <asp:TextBox ID="txtJC_DATE" runat="server" Width="172px" fieldtype="nvarchar" isnull='False'></asp:TextBox><span
                                class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
                            </span>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        流水号：
                    </td>
                    <td>
                        <asp:TextBox ID="txtLSH" runat="server" Width="200px" Enabled="false"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        检查是否通过：
                    </td>
                    <td>
                        <asp:RadioButton ID="JCSFTG0" runat="server" GroupName="1A" Text="" />否
                        <asp:RadioButton ID="JCSFTG1" runat="server" GroupName="1A" Text="" Checked="true" />是
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="divcenter">
            <asp:Button ID="btnSave" runat="server" Text="保 存" OnClick="btnSave_Click" OnClientClick="javascript:if(CheckPage()==false) return false"
                class="btn btn-primary" />
            <asp:Button ID="btnBack" runat="server" Text="返 回" ishow="true" OnClick="btnBack_Click"
                class="btn btn-success" Visible="False" />
        </div>
    </div>
</asp:Content>
